﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PessModel;

namespace PessMvc.Models
{
    public class ReviewFeedbackListModel
    {
        public string ActivityName { get; set; }
        public int ActivityID { get; set; }
        public string SubjectName { get; set; }
        public int SubjectID { get; set; }
        public ModelStateDictionary ErrorMessages { get; set; }
        public IEnumerable<FeedbackModel> Feedbacks{get;set;}
    }

    public class FeedbackModel
    {
        public string ArchiveSerialNumber { get; set; }
        public string ProjectSN { get; set; }
        [AllowHtml]
        [UIHint("tinymce_full")]
        public string ReviewFeedback { get; set; }
        [AllowHtml]
        [UIHint("tinymce_full")]
        public string Conclusion { get; set; }
    }

    /// <summary>
    /// for aect2015, proposal review
    /// </summary>
    public class ArchiveReviewFeedbackModel
    {
        public string ProposalID { get; set; }
        public string ProposalTitle { get; set; }
        public ArchiveStatus Status { get; set; }
        public List<ReviewerFeedbackModel> Feedbacks { get; set; }
        public string AcceptedFormat { get; set; }
        public string ChairProposalFeedback { get; set; }
    }

    /// <summary>
    /// for aect2015, proposal review
    /// </summary>
    public class ReviewerFeedbackModel
    {
        public string ExpertSerialNumber { get; set; }
        public List<KeyValuePair<string, int>> Scores { get; set; }
        public string Comment { get; set; }
        public AcceptanceStatus Acceptance { get; set; }
    }

    /// <summary>
    /// for aect 2015, paper review
    /// </summary>
    public class ArchivePaperReviewFeedbackModel
    {
        public string ProposalID { get; set; }
        public string ProposalTitle { get; set; }
        public ArchivePaperStatus Status { get; set; }
        public List<PaperReviewerFeedbackModel> Feedbacks { get; set; }
    }

    /// <summary>
    /// for aect2015, paper review
    /// </summary>
    public class PaperReviewerFeedbackModel
    {
        public string ExpertSerialNumber { get; set; }
        public List<KeyValuePair<string, int>> Scores { get; set; }
        public string Comment { get; set; }
        public PaperAcceptanceStatus Acceptance { get; set; }
    }


    
}